﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TouchSocket.Core;
using TouchSocket.Sockets;

namespace ConsoleApp9
{
    public class DdpTcpPlugin : ITcpReceivedPlugin
    {
        public Task OnTcpReceived(ITcpClientBase client, ReceivedDataEventArgs e)
        {
            //throw new NotImplementedException();
            Console.WriteLine("Received data from client: " );
            return Task.CompletedTask;
        }

        public void Loaded(IPluginManager pluginManager)
        {
            //throw new NotImplementedException();
        }

        public void Dispose()
        {
            //throw new NotImplementedException();
            return;     
        }

        
    }
}
